package com.zkyc.framework.common.mapper;

import com.zkyc.framework.common.pojo.MediaTag;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * (MediaTag)表数据库访问层
 *
 * @author libingchuan
 * @since 2022-06-07 14:26:45
 */
@Mapper
public interface MediaTagMapper extends BaseMapper<MediaTag> {
    
    @Select("select id from system_media_tag where media_tag_name = ' ' and is_deleted = 0")
    int selectZero();

}

